package com.aspose.cells.a.d;

public class zbf {
   public zbe[] a;
   public short[] b;

   public zbf() {
   }

   public zbf(zu var1, int var2, int var3) throws Exception {
      this.a = new zbe[var2];

      int var4;
      for(var4 = 0; var4 < this.a.length; ++var4) {
         this.a[var4] = new zbe();
         this.a[var4].a = var1.e();
         this.a[var4].b = var1.d();
      }

      var4 = var3 - var2;
      this.b = new short[var4];

      for(int var5 = 0; var5 < this.b.length; ++var5) {
         this.b[var5] = var1.d();
      }

   }

   public zbe a(int var1) {
      if (var1 < this.a.length) {
         return this.a[var1];
      } else {
         zbe var2 = this.a[this.a.length - 1];
         if (var1 - this.a.length < this.b.length) {
            short var3 = this.b[var1 - this.a.length];
            return new zbe(var2.a, var3);
         } else {
            return new zbe(var2.a, (short)0);
         }
      }
   }
}
